package com.arpa.oms.mapper;

import com.arpa.oms.domain.entity.OmsReceivableItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * OMS收款单明细 Mapper 接口
 * </p>
 *
 * @author LEO
 * @since 2020-11-17
 */
public interface OmsReceivableItemMapper extends BaseMapper<OmsReceivableItem> {


    /**
     * 根据收款单号获取收款单明细
     *  关联查询收款明细表
     * @param receivableCode 收款单号
     * @return 收款单明细 {@link OmsReceivableItem}
     */
    List<OmsReceivableItem> listByReceivableCode(@Param("receivableCode") String receivableCode);
}
